package org.meteorshower.employee_depart.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * 奖惩信息，映射完成
 * @table reward_and_punishments
 * */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("reward_and_punishments")
public class EmpRewardAndPunish implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableField("id")
    private String id;
    @TableField("e_id")
    private String eId;
    @TableField("create_date")
    private Date createDate;
    @TableField("reason")
    private String reason;
    @TableField("remark")
    private String remark;
    @TableField("point")
    private Integer point;
    @TableField("type")
    private Integer type;
    /**
     * 记录责任人
     * */
    @TableField("responsible")
    private Employee responsible;
    private RewardAndPunishment rewardAndPunishment;
}
